package com.xlongwei.todays.view;

import org.noear.solon.validation.annotation.Min;
import org.noear.solon.validation.annotation.Pattern;
import lombok.Data;

@Data
public class TodoQuery {
    @Min(1)
    private Integer todoid;
    @Min(1)
    private Integer limit = 10;
    private String title;
    @Pattern("[01]")
    private String status;
    @Pattern("[01]")
    private String next;
    private String remark;
}
